# 给Ui—_info.py中的变量设置默认参数，后续直接调用即可
## 项目代码
project=[ '项目A', '项目B', '项目C', '项目D']

##检验项目
item = ['微观均匀性', '宏观均匀性', '其他']

## 送检人
submission = ['张三', '李四', '王五', '赵六']

## 送检单位
submission_department = ['单位A', '单位B', '单位C', '单位D']

## 工作人员
staff = ['小赵' , '小钱', '小孙', '小李']

## 设备型号
equipment = {'设备A':'2023-12-20','设备B':'2024-05-12', '设备C':'2025-02-15', '设备D':'2026-05-20'}

## 技术条件和要求
technical_condition = {'技术条件A':'要求A', 
                       '技术条件B':'要求B', 
                       '技术条件C':'要求C', 
                       '技术条件D':'要求D'}

class BasicInfo(object):
    def __init__(self):
        self.project = project    
        self.item = item
        self.submission = submission
        self.submission_department = submission_department
        self.staff = staff
        self.equipment = equipment
        self.technical_condition = technical_condition

class RunInfo(object):
    def __init__(self):
        model = ['模型A', '模型B', '模型C', '模型D']
        self.model = model
        weight = {'模型A':['A1.pt', 'A2.pt'], '模型B':['B1.pt', 'B2.pt', 'B3.pt'], '模型C':['C1.pt'], '模型D':['D1.pt', 'D2.pt']}
        self.weight = weight

        


